Temporary device deactivation